package com.heartunderblade.rpc.observer;

import lombok.Data;

@Data
public class MapEvent {
    private final String serviceKey;
    private final EventType eventType;

    public MapEvent(String serviceKey, EventType eventType) {
        this.serviceKey = serviceKey;
        this.eventType = eventType;
    }

    public enum EventType {
        CREATED, REMOVED
    }
}
